package com.soul.doc.service;

import com.soul.doc.bean.dto.UploadFileDto;
import com.soul.doc.bean.po.FilePo;
import com.soul.common.service.CommService;
import com.soul.common.bean.vo.FileVo;

import javax.servlet.http.HttpServletResponse;
import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sws
 * @since 2023-11-19 11:05:20
 */
public interface FileService extends CommService<FilePo> {

    //上传文件
    FileVo uploadFile(UploadFileDto fileDto);

    FileVo getFileVo(Long id);

    List<FileVo> getFileVoByIds(List<Long> ids);

    List<FileVo> queryFileByIds(Collection<Long> ids);

    void getMusicFile(HttpServletResponse res, Long fileId);
}
